<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

<!-- <script type="text/javascript">
function fileUpload(){
	var myfiles1 = document.getElementById("myfiles1").value;
	var myfiles2 = document.getElementById("myfiles2").value;
	var myfiles3 = document.getElementById("myfiles3").value;
	var myfiles = [];
	myfiles.push(myfiles1);
	myfiles.push(myfiles2);
	myfiles.push(myfiles3);
	 $.ajax({
         type: "POST", //提交数据的类型 分为POST和GET
         async: false,
         url: "/upload",  //提交url 注意url必须小写
         data: { "myfiles": myfiles},
     });
	
	//window.location.href="http:////localhost:8080//HelloWorddd//upload.do";
	$("#formFile").submit();
}


</script> -->



</head>
<body>
<form method="post" action="upload.do" enctype="multipart/form-data" accept-charset="utf-8">  
         文件1: <input type="file" name="myfiles"/><br/>     
          文件2: <input type="file" name="myfiles"/><br/>     
          文件3: <input type="file" name="myfiles"/><br/>     
        <input type="submit" value="上传">  
</form>  
</body>
</html>